﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ETA.IService
{
    public interface IQuestionService
    {
        /// <summary>
        /// QA信息列表
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        QueryQuestionResponse QueryQuestionList(QueryQuestionRequest req, out int count);

        /// <summary>
        /// 创建一个QA问题
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        CreateQuestionResponse CreateQuestion(CreateQuestionRequest req);

        /// <summary>
        /// 修改或者回答
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        ModifyQuestionResponse ModifyQuestion(ModifyQuestionRequest req);
    }
}
